package com.ruoyi.project.zerocarbon.mapper;

import com.ruoyi.project.zerocarbon.domain.DeclarationZhejiang;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 * 
 * @author ruoyi
 * @date 2022-03-13
 */
public interface DeclarationZhejiangMapper 
{
    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    public DeclarationZhejiang selectDeclarationZhejiangById(Long id);

    public DeclarationZhejiang selectDeclarationDetailZhejiangById(Long id);

    public DeclarationZhejiang selectDeclarationZhejiangListByUserName(String userName);

    public String selectMaxSerial();

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param declarationZhejiang 【请填写功能名称】
     * @return 【请填写功能名称】集合
     */
    public List<DeclarationZhejiang> selectDeclarationZhejiangList(DeclarationZhejiang declarationZhejiang);
    public List<DeclarationZhejiang> selectDeclarationZhejiangListExport(DeclarationZhejiang declarationZhejiang);

    /**
     * 新增【请填写功能名称】
     * 
     * @param declarationZhejiang 【请填写功能名称】
     * @return 结果
     */
    public int insertDeclarationZhejiang(DeclarationZhejiang declarationZhejiang);

    /**
     * 修改【请填写功能名称】
     * 
     * @param declarationZhejiang 【请填写功能名称】
     * @return 结果
     */
    public int updateDeclarationZhejiang(DeclarationZhejiang declarationZhejiang);

    /**
     * 删除【请填写功能名称】
     * 
     * @param id 【请填写功能名称】ID
     * @return 结果
     */
    public int deleteDeclarationZhejiangById(Long id);

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDeclarationZhejiangByIds(Long[] ids);

    public int getRankingNum(@Param("score") Integer score);

    public List<DeclarationZhejiang> getRankingDecorationList(DeclarationZhejiang declarationZhejiang);
    public List<DeclarationZhejiang> getGroupDecorationList(DeclarationZhejiang declarationZhejiang);
    public int countGroupDecorationList(DeclarationZhejiang declarationZhejiang);

    public List<DeclarationZhejiang> getGroupDecorationListAndNoJudgeStatus(DeclarationZhejiang declarationZhejiang);
    public int countGroupDecorationListAndNoJudgeStatus(DeclarationZhejiang declarationZhejiang);

    public List<DeclarationZhejiang> getGroupDecorationListAndJudgeStatus(DeclarationZhejiang declarationZhejiang);
    public int countGroupDecorationListAndJudgeStatus(DeclarationZhejiang declarationZhejiang);

}
